package cn.edu.zhku.mapper.form;

import cn.edu.zhku.dto.UserDto;
import cn.edu.zhku.pojo.User;
import cn.edu.zhku.pojo.form.Form;

import java.util.List;

public interface FormMapper {

    void insertOne(Form form);

    Form selectById(Integer formId);

    Integer selectFormNumById(Integer formId);

    void deleteByGroupIdBatch(List<Integer> groupIds);

    void deleteByTaskIdBatch(List<Integer> taskIds);

    void updateOne(Form form);

    List<Form> selectFormTea(UserDto userDto);

}
